Skip to content
This repository was archived by the owner on Jan 13, 2026. It is now read-only.

feat: add skipValidation option to createApi#28

Merged
zbeyens merged 1 commit into
mainfrom
feat/skip-validation
Dec 17, 2025
Merged

feat: add skipValidation option to createApi#28
zbeyens merged 1 commit into
mainfrom
feat/skip-validation

Conversation

@zbeyens
Copy link
Copy Markdown
Member

@zbeyens zbeyens commented Dec 17, 2025

Summary

  • Add skipValidation option to createApi for smaller generated types
  • When enabled, uses generic v.any() validators instead of typed validators
  • Limits validators to auth tables only (instead of all schema tables)

Test plan

  • Verify build passes with bun run build
  • Test with skipValidation: true to confirm smaller type output
  • Test with skipValidation: false (default) to confirm typed validators still work

🤖 Generated with Claude Code

Add `skipValidation` option to reduce generated type sizes. When enabled,
uses generic `v.any()` validators instead of typed validators for internal
functions. Also limits validators to auth tables only.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Dec 17, 2025

🦋 Changeset detected

Latest commit: 8b845a2

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
better-auth-convex Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@zbeyens zbeyens merged commit ccdeb27 into main Dec 17, 2025
1 check passed
@zbeyens zbeyens deleted the feat/skip-validation branch December 17, 2025 18:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant